<template>
  <div id="nav">
    <img src="./assets/logo.png"><br>
    <router-link to="/" active-class="active">Home</router-link> |
    <router-link to="/about" active-class="active">About</router-link>
  </div>
  <router-view/>
</template>
<style scoped>
  #nav {
    text-align: center;
  }
  .active{
    color: #f00;
  }
</style>